home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / s342q08.lha / c68door.h < prev    next >
Text File  |  1992-10-21  |  2KB  |  46 lines

  1. /************************************************************************/
  2. /*                              C68Door.h                               */
  3. /*              Header file for doors. (System dependent file.)         */
  4. /************************************************************************/
  5. /************************************************************************/
  6. /*                              History                                 */
  7. /*                                                                      */
  8. /* 89Nov12 AP Created.                                                  */
  9. /************************************************************************/
  10. /* Name of data file */
  11. #define DOOR_DATA       "citadoor.sys"
  12. /* These define privileges. */
  13. #define DOOR_ANYONE     0
  14. #define DOOR_AIDE       0x01
  15. #define DOOR_SYSOP      0x02
  16. #define DOOR_CON        0x04
  17. #define DOOR_MODEM      0x08
  18. #define DOOR_AUTO       0x10
  19. #define DOOR_NEWUSER    0x20
  20. /*
  21. * These constants are used for parameter variable identification.
  22. */
  23. #define DV_BAUD         1
  24. #define DV_BPS          2
  25. #define DV_USER_NAME    4
  26. #define DV_USER_NUM     5
  27. #define DV_ANSI         6
  28. typedef struct 
  29.   {
  30.   char  entrycode[6];         /* What user uses to specify a door     */
  31.   char  program[14];          /* name of program                      */
  32.   char  location[50];         /* door location                        */
  33.   char  description[80];      /* description of door                  */
  34.   char  flags;                /* sysop, aides, or everyone            */
  35.   char  parameters[100];      /* list of parameters.                  */
  36.   int   TimeLimit;            /* time limit for this door             */
  37.   label RoomName;             /* room name                            */
  38.   
  39.   }
  40. DoorData;
  41. #ifdef CTDL_HEADER
  42. char doDoor(char x);
  43. char BackFromDoor(void);
  44. char NoTimeForDoor(int which, DoorData *DoorInfo);
  45. #endif 
  46.